package com.freemalll.merchant.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 实体类。
 *
 * @author songshixiong
 * @since 2025-05-26
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor

public class MerMerchantCapitalOrderDto implements Serializable {

    @Schema(description = "主键")
    private String capitalId;

    @Schema(description = "商户id")
    @NotBlank(message = "商户id不能为空")
    private String merId;

    @Schema(description = "顺位")
    @NotNull(message = "顺位不能为空")
    private Integer ranking;

    @Schema(description = "资方id")
    @NotBlank(message = "资方id不能为空")
    private String sourceId;

    @Schema(description = "资方名称")
    @NotBlank(message = "资方名称不能为空")
    private String sourceName;

    @Schema(description = "收款类型")
    @NotBlank(message = "收款类型不能为空")
    private String paymentType;

    @Schema(description = "收款账户")
    private String paymentAccount;


}
